public class Application {

    public static void main(String[] args) {
    Student Cindy = new Student("Cindy", 80);
    Student Mary = new Student("Mary", 95);

    Teacher Solider = new Teacher("Solider");
    Teacher Bob = new Teacher("Bob");

    Cindy.setGrade(Cindy.grade+5);
    Mary.setGrade(Mary.grade+5);

    Solider.addStudent(Cindy);
    Bob.addStudent(Mary);

    Solider.printInfo();
    Bob.printInfo();
//    byte aByte = 10;
//    short aShort = (short) aByte;
//    int aInt = (int) aShort;
//    long aLong = (long) aInt;
//    float aFloat = (float) aLong;
//    double aDouble = (double) aFloat;
//    System.out.println("byte:"+aByte);
//    System.out.println("short:"+aShort);
//    System.out.println("int:"+aInt);
//    System.out.println("long:"+aLong);
//    System.out.println("float:"+aFloat);
//    System.out.println("double"+aDouble);
//    char bChar = '1';
//    int bInt = (int) bChar-(int)('0');
//    System.out.println("char:"+bChar);
//    System.out.println("int:"+bInt);
//    int p = 3;
//    int q = 5;
//    double c = (double)p/q;
//    System.out.println("double:"+c);
    }
}


